﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Model
{
    ///<summary>
    ///物料包装
    ///</summary>
    [SugarTable("t_MaterialPackage")]
    public partial class t_MaterialPackage
    {
        public t_MaterialPackage()
        {


        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:物料Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long MaterialId { get; set; }

        /// <summary>
        /// Desc:物料号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? MaterialCode { get; set; }

        /// <summary>
        /// Desc:物料名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? MaterialName { get; set; }

        /// <summary>
        /// Desc:基本单位Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? BaseUnitId { get; set; }

        /// <summary>
        /// Desc:基本单位
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? BaseUnitName { get; set; }

        /// <summary>
        /// Desc:主包装单位Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? PackageUnitId { get; set; }

        /// <summary>
        /// Desc:主包装单位
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? PackageUnitName { get; set; }

        /// <summary>
        /// Desc:子包装单位Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? SubPackageUnitId { get; set; }

        /// <summary>
        /// Desc:子包装单位
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? SubPackageUnitName { get; set; }

        /// <summary>
        /// Desc:总计量数
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? FactorBU { get; set; }

        /// <summary>
        /// Desc:包装数量
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ConversionFactor { get; set; }

        /// <summary>
        /// Desc:计量数量
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? UOMQty { get; set; }

        /// <summary>
        /// Desc:包装等级：1-基本包装;2-二级包装；3-三级包装
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? PackageLevel { get; set; }

        /// <summary>
        /// Desc:长
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Length { get; set; }

        /// <summary>
        /// Desc:宽
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Width { get; set; }

        /// <summary>
        /// Desc:高
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Height { get; set; }

        /// <summary>
        /// Desc:重量
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Weight { get; set; }

        /// <summary>
        /// Desc:体积
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Volumn { get; set; }

        /// <summary>
        /// Desc:包装描述
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Remark { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? EquipType { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? EquipTypeName { get; set; }

    }
}
